{"version":3,"sources":["html-base-controls.js"],"names":["TaskbarManager","editor","init","this","bShown","closedWidth","MIN_CLOSED_WIDTH","width","config","taskbarWidth","taskbars","freezeOnclickHandler","Init","prototype","pCont","dom","taskbarCont","setAttribute","pResizer","BX","id","pTopCont","bind","proxy","StartResize","OnClick","pSearchCont","pSearchAli","pSearchInput","pSearchNothingNotice","TaskbarSearch","e","window","event","_this","target","srcElement","type","getAttribute","findParent","node","Hide","Show","onCustomEvent","value","saveValue","className","style","GetWidth","ResizeSceleton","SaveOption","bCheck","maxWidth","Math","max","round","AddTaskbar","oTaskbar","appendChild","GetCont","GetTitleCont","ShowTaskbar","taskbarId","hasOwnProperty","Activate","placeholder","searchPlaceholder","Deactivate","activeTaskbarId","ClearSearchResult","GetActiveTaskbar","overlay","resizerOverlay","dX","newWidth","windowScroll","GetWindowScrollPos","startX","clientX","scrollLeft","display","moveResizer","bFinish","x","isNaN","finishResizing","unbind","document","setTimeout","PreventDefault","Resize","w","h","topHeight","parseInt","offsetHeight","pTreeCont","height","browser","IsDoctype","resizeTimeout","clearTimeout","taskbar","keyCode","KEY_CODES","length","Search","Taskbar","manager","taskbarManager","searchIndex","_searchResult","_searchResultSect","addCustomEvent","OnGroupTitleClick","OnElementClick","OnTitleClick","OnMenuClick","pTitleCont","BuildSceleton","create","props","html","title","pTreeInnerCont","BuildTree","sections","elements","cleanNode","treeSectionIndex","BuildTreeSections","BuildTreeElements","i","BuildSection","GetSectionsTreeInfo","section","parentCont","GetSectionContByPath","path","pGroup","pGroupTitle","icon","text","name","childCont","elementsCont","key","depth","sect","children","outerCont","cont","GetSectionByPath","push","addClass","BuildElement","element","pElement","Text","encode","dd","src","util","GetEmptyImage","HandleElementEx","content","toLowerCase","onmousedown","bxTag","GetBxTag","OnElementMouseDownEx","ondblclick","OnElementDoubleClick","ondragend","OnDragEndHandler","bElement","ToggleGroup","bOpen","group","undefined","opened","removeClass","childNodes","skipPasteHandler","skipPasteControl","iframeView","pasteHandlerTimeout","GetIframeElement","parentNode","sur","CheckSurrogateNode","InsertAfter","synchro","FullSyncFromIframe","pasteLoader","hide","OnElementClickEx","cloneNode","Focus","selection","InsertNode","ShowMenu","bActive","IsActive","arItems","GetMenuItems","PopupMenu","destroy","uniqueId","show","opacity","events","onPopupClose","bindElement","offsetLeft","zIndex","bFoundItems","pSect","el","l","trim","indexOf","GetId","ComponentsControl","superclass","constructor","apply","arguments","message","templateId","extend","list","components","GetList","groups","items","wrap","params","SetBxTag","tag","complex","LoadParamsList","onclick","componentsTaskbar","ReloadList","Dialog","firstFocus","resizable","min_width","min_height","resize_id","oDialog","CDialog","OnResize","OnResizeFinished","PARTS","CONTENT","CONTENT_DATA","SetButtons","CWindowButton","action","Close","btnCancel","OnKeyDown","dialogShownTimeout","dialogShown","RestoreWindowOverflow","top","DIV","scrollPos","scrollTop","minTop","savedBodyOverflow","savedScrollLeft","savedScrollTop","IsOpera","Move","__resizeOverlay","focus","selectFirstFocus","select","BuildTabControl","arTabs","pTabsWrap","pContWrap","tab","attrs","toString","ind","tabsWrap","contWrap","tabs","closeByEnter","nodeName","PARAMS","buttons","emulate","SetContent","SetTitle","GetContentSize","offsetWidth","Save","savedRange","SetBookmark","IsSupported","Exec","GetValues","IsOpen","isOpen","DisableKeyCheck","WindowManager","disableKeyCheck","EnableKeyCheck","enableKeyCheck","AddTableRow","tbl","firstCell","r","c1","c2","insertRow","insertCell","label","required","row","leftCell","rightCell","SetValues","DoNothing","CheckSize","timeout","checkSizeTimeout","innerSize","GetWindowInnerSize","dialogBottom","innerHeight","body","overflow","expanded","PreventScroll","scrollTo","ContextMenu","delegate","defaultItem","TEXT","ACTION","GetDialog","php","GetTargetItem","anchor","javascript","htmlcomment","iframe","object","component","ShowPropertiesDialog","surrogateId","remove","printbreak","RemoveNode","video","bbMode","smile","A","link","IMG","On","ReplaceWithOwnChildren","TABLE","HIDE_ITEM","cells","actions","tableOperation","getSelectedCells","MENU","actionType","tableNode","range","collapsed","canBeMerged","canBeMergedWithRight","canBeMergedWithBottom","SEPARATOR","DEFAULT","collapsedSelection","targetBxTag","GetBookmark","contextMenuShown","contextMenuShownTimeout","nodes","tagIndex","j","k","menuItems","item","itemGr","maxIter","iter","targetItems","toUpperCase","nodeType","origTag","origId","PushTargetItem","bbCode","clone","y","clientY","dummyTarget","iframeCont","left","OPENER","COpener","TYPE","ACTIVE_CLASS","CLOSE_ON_CLICK","Open","popupDiv","GetMenu","isOpened","CheckEscapeClose","bMenuInit","removeCustomEvent","Toolbar","topControls","toolbar","controls","bCompact","showMoreButton","shown","BuildControls","EnableWysiwygButtons","DisableWysiwygButtons","SetScrollShadows","scrollWidth","scrollRight","classList","add","moreCont","map","GetControlsMap","wraps","main","right","hidden","hiddenWrap","normalWidth","NORMAL_WIDTH","checkWidth","separator","GetSeparator","GetPopupBindCont","CheckBeforeShow","More","compact","GetPopupCont","CheckCommand","controlsMap","res","sort","a","b","GetHeight","toolbarCont","bDisable","Disable","disabledForTextarea","AdaptControls","firstChild","IsShown","NodeNavi","navCont","OnIframeMousedown","OnIframeKeyup","bShow","BuildNavi","GetIframeDoc","nodeIndex","itemCont","insertBefore","AdjustSize","lastChild","offsetTop","origNode","random","phpParser","surrogateTags","popupWindow","close","showProps","ShowNodeProperties","CheckContentLastChild","Clear","Refresh","bindOptions","position","Enable","Overlay","Create","bCreated","ws","GetWindowScrollSize","pWnd","scrollHeight","ondrag","False","onselectstart","arParams","shownTimeout","Button","activeClassName","disabledClassName","checkableAction","OnMouseDown","RegisterCheckableAction","control","Check","bFlag","checked","disabled","OnMouseUp","IsFocusedOnTextarea","SaveBookmark","GetValue","SetValue","DropDown","activeListClassName","arValues","posOffset","pValuesCont","valueIndex","pValuesContWrap","but","SelectItem","listCont","bOpened","RestoreBookmark","popupShownTimeout","popupShown","CheckClose","pEl","firstOpen","ZIndexManager","register","bringToFront","getZIndex","pOverlay","bindCont","pos","bottom","val","lastActiveItem","htmlspecialchars","OnPopupClose","DropDownList","itemClassName","unselectable","itemClass","tagName","defaultValue","valDropdown","bClose","innerHTML","topName","active","state","SetWidth","ComboBox","values","pInput","input","SPLIT_SYMBOL","itemClassNameActive","Blur","KeyUp","visibleItemsLength","currentItem","UpdateValues","ClosePopup","n","SetValueFromList","TITLE","NAME","VALUE","FilterValue","splitedVals","GetSplitedValues","caretPos","GetCaretPos","start","end","FilterAndHighlight","arVals","gStart","gEnd","str","bMultiple","split","needle","showPopup","substr","ShowPopup","oSel","createRange","moveStart","selectionStart","splVal","glue","curValue","before","after","replace","delta","len","querySelectorAll","selected","bFocused","firstShow","OnChange","ClassSelector","filterTag","lastTemplateId","GetTemplateId","GetClasses","classes","GetCurrentCssClasses","classTitle","PasteControl","pasteSetColors","pasteSetBorders","pasteSetDecor","mode","CHECKED","_MODE","CheckAndShow","lastPreviewMode","checkTimeout","PreviewContent","doTimeout","skipColors","richContent","textContent","SetCursorNode","cursorNode","offsetParent","editorSize","GetSceletonSize","maxTop","maxLeft","findChild","CMenu","broadcastCloseEvent","previewTimeout","defPasteSetColors","defPasteSetBorders","defPasteSetDecor","pasteHandleMode","bbParseContentMode","lastIframeValue","pastedContent","FromIframeToTextarea","lastTextareaValue","FromTextareaToIframe","RestoreCursor","SaveIframeContent","__run","BXHtmlEditor","NodeNavigator"],"mappings":"CAUC,WACA,SAASA,EAAeC,EAAQC,GAE/BC,KAAKF,OAASA,EACdE,KAAKC,OAAS,MACdD,KAAKE,YAAc,GACnBF,KAAKG,iBAAmB,IACxBH,KAAKI,MAAQJ,KAAKF,OAAOO,OAAOC,cAAgB,IAChDN,KAAKO,SAAW,GAChBP,KAAKQ,qBAAuB,MAE5B,GAAIT,EACJ,CACCC,KAAKS,QAIPZ,EAAea,UAAY,CAC1BD,KAAM,WAELT,KAAKW,MAAQX,KAAKF,OAAOc,IAAIC,YAC7Bb,KAAKW,MAAMG,aAAa,eAAgB,kBAExCd,KAAKe,SAAWC,GAAG,4BAA8BhB,KAAKF,OAAOmB,IAC7DjB,KAAKe,SAASD,aAAa,eAAgB,eAC3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